package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.Member;

import java.util.List;

/**
 * @author ：XXXX
 * @date ：Created in 2019/12/07
 * @description ：
 * @version: 1.0
 */
public interface MemberDao {
        public List<Member> findAll();
        public Page<Member> selectByCondition(String queryString);
        public void add(Member member);
        public void deleteById(Integer id);
        public Member findById(Integer id);
        public Member findByTelephone(String telephone);
        public void edit(Member member);
        public Integer findMemberCountBeforeDate(String date);
        public Integer findMemberCountByDate(String date);
        public Integer findMemberCountAfterDate(String date);
        public Integer findMemberTotalCount();
}
